package com.czy.owner.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by King on 2016/8/1 0001.
 */
public class MaintenanceRecord implements Serializable {

    /**
     * note : 未设置
     * address : 未设置
     * carFilesRecordId : 1
     * createTime : 0
     * price : 99
     * ownerCarId : 26
     * typeName : null
     * createType : system
     * carFilesCostTypeId : 0
     * serviceId : 2
     * serviceName : 普洗汽车
     * serviceTime : 1469980800000
     */
    private long currentMileage;
    private String note;
    private String address;
    private long carFilesRecordId;
    private long createTime;
    private double price;
    private long ownerCarId;
    private String typeName;
    private String createType;
    private int carFilesCostTypeId;
    private int serviceId;
    private String serviceName;
    private long serviceTime;
    private long nextTime;
    private long nextMileage;
    private String orderType;
    private String orderNote;
    private String userOrderId;
    private String storeId;

    private String orderNumber;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(String userOrderId) {
        this.userOrderId = userOrderId;
    }

    public String getOrderNote() {
        return orderNote;
    }

    public void setOrderNote(String orderNote) {
        this.orderNote = orderNote;
    }

    private List<DataBeanModel> itemList;

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public long getNextTime() {
        return nextTime;
    }

    public void setNextTime(long nextTime) {
        this.nextTime = nextTime;
    }

    public long getNextMileage() {
        return nextMileage;
    }

    public void setNextMileage(long nextMileage) {
        this.nextMileage = nextMileage;
    }

    public List<DataBeanModel> getItemList() {
        return itemList;
    }

    public void setItemList(List<DataBeanModel> itemList) {
        this.itemList = itemList;
    }

    public long getCurrentMileage() {
        return currentMileage;
    }

    public void setCurrentMileage(long currentMileage) {
        this.currentMileage = currentMileage;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getCarFilesRecordId() {
        return carFilesRecordId;
    }

    public void setCarFilesRecordId(long carFilesRecordId) {
        this.carFilesRecordId = carFilesRecordId;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public long getOwnerCarId() {
        return ownerCarId;
    }

    public void setOwnerCarId(long ownerCarId) {
        this.ownerCarId = ownerCarId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    public int getCarFilesCostTypeId() {
        return carFilesCostTypeId;
    }

    public void setCarFilesCostTypeId(int carFilesCostTypeId) {
        this.carFilesCostTypeId = carFilesCostTypeId;
    }

    public int getServiceId() {
        return serviceId;
    }

    public void setServiceId(int serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public long getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(long serviceTime) {
        this.serviceTime = serviceTime;
    }

    public static class DataBeanModel implements Serializable {
        //        {
//            "price": "320",
//                "num": "1",
//                "name": "标题",
//                "spe": "规格:无规格",
//                "type": "goods",
//                "brand": "天天爱车品牌"
//        }
        private String price;
        private String num;
        private String name;
        private String spe;
        private String type;
        private String brand;
        //        是否套餐 0:否 1：是
        private int isPack;

        public int getIsPack() {
            return isPack;
        }

        public void setIsPack(int isPack) {
            this.isPack = isPack;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSpe() {
            return spe;
        }

        public void setSpe(String spe) {
            this.spe = spe;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }
    }

    @Override
    public String toString() {
        return "MaintenanceRecord{" +
                "note='" + note + '\'' +
                ", address='" + address + '\'' +
                ", carFilesRecordId=" + carFilesRecordId +
                ", createTime=" + createTime +
                ", price=" + price +
                ", ownerCarId=" + ownerCarId +
                ", typeName='" + typeName + '\'' +
                ", createType='" + createType + '\'' +
                ", carFilesCostTypeId=" + carFilesCostTypeId +
                ", serviceId=" + serviceId +
                ", serviceName='" + serviceName + '\'' +
                ", serviceTime=" + serviceTime +
                '}';
    }
}
